package com.mengniu.commerce.sync.api.base;

import lombok.Data;

import java.util.List;

@Data
public class RefundOrderResult {

    private Integer code;

    private RefundOrderResult.ResultData data;

    private String msg;

    private Boolean success;

    @Data
    public static class ResultData{
        private List<RefundOrderResult.DataModel> errorData;
        private List<RefundOrderResult.DataModel> successData;
    }

    @Data
    public static class DataModel{
        private String errCode;
        private String errMsg;
        private List<String> lineNumList;
        private String salesOrderNo;
        private String sourceOrderNo;
    }
}
